package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ljh
 * @create 2022/2/25 15:33
 */
@Data
@ApiModel("用户积分明细")
public class ShopUserPointDetailResult {

    @ApiModelProperty(name = "userNo", value = "用户no", dataType = "String")
    private String userNo;

    @ApiModelProperty(name = "avatar", value = "头像", dataType = "String")
    private String avatar;

    @ApiModelProperty(name = "nickName", value = "昵称", dataType = "String")
    private String nickName;

    @ApiModelProperty(name = "lv", value = "等级", dataType = "String")
    private String lv;

    @ApiModelProperty(name = "phone", value = "手机账号", dataType = "String")
    private String phone;

    @ApiModelProperty(name = "userBalance", value = "余额", dataType = "String")
    private String userBalance = "0.00";

    @ApiModelProperty(name = "userPoint", value = "共有积分", dataType = "BigDecimal")
    private BigDecimal userPoint = BigDecimal.ZERO;

    @ApiModelProperty(name = "userThawTotalPoint", value = "已解冻总积分", dataType = "BigDecimal")
    private BigDecimal userThawTotalPoint = BigDecimal.ZERO;

    @ApiModelProperty(name = "userThawWaitPoint", value = "待解冻总积分", dataType = "BigDecimal")
    private BigDecimal userThawWaitPoint = BigDecimal.ZERO;

    @ApiModelProperty(name = "canUsePoint", value = "当前可用积分", dataType = "BigDecimal")
    private BigDecimal canUsePoint = BigDecimal.ZERO;

    @ApiModelProperty(name = "userPointList", value = "积分列表")
    private List<ShopOrderPointsListResult> userPointList;

}
